package com.api.shopapi.service;


import com.api.shopapi.entity.OrderTradeno;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface OrderTradenoService {

    int insert(OrderTradeno orderTradeno);

    int delete(String orderTradeNoCode);

    int update(OrderTradeno orderTradeno);

    List<OrderTradeno> getList();

    OrderTradeno getByOrderTradenoCode(String orderTradeNoCode);

    OrderTradeno getByTradeno(String tradeno);

}
